package com.fram.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fram.bean.api.user.response.SignInResponse;
import com.fram.entity.IntegralSignIn;

public interface IntegralSignInMapper {
    int deleteByPrimaryKey(Long id);

    int insert(IntegralSignIn record);
    /**新增**/
    int insertSelective(IntegralSignIn record);
    
    IntegralSignIn selectByPrimaryKey(Long id);
    
    int updateByPrimaryKeySelective(IntegralSignIn record);

    int updateByPrimaryKey(IntegralSignIn record);
    
    List<Date> selectByDate(@Param("userId") Long userId);
    /**积分求和**/
    IntegralSignIn selectSun(@Param("userId")Long userId);
    /**签到积分查询日期**/
    List<SignInResponse> listDate(@Param("userId") Long userId);
}